package com.example.compkeylab.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author Cheng Guanghao
 * @since 2023-11-27
 */
@TableName("search_records")
@ApiModel(value = "SearchRecords对象", description = "")
public class SearchRecords implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("搜索者id")
    private String id;

    @ApiModelProperty("搜索记录")
    private String search;

    private LocalDateTime time;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSearch() {
        return search;
    }

    public void setSearch(String search) {
        this.search = search;
    }

    public LocalDateTime getTime() {
        return time;
    }

    public void setTime(LocalDateTime time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return "SearchRecords{" +
                "id=" + id +
                ", search=" + search +
                ", time=" + time +
                "}";
    }
}
